<%@page import="com.tangdi.production.mpbase.util.StringUtil"%>
<%@page import="com.tangdi.production.mpbase.util.MapUtils"%>
<%@page import="com.tangdi.production.mpbase.util.ObjectUtil"%>
<%@page import="com.tangdi.production.mpbase.util.RequestUtil"%>
<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page language="java" import="java.util.*"%>
<%@ page language="java"
	import="com.tangdi.production.mpapp.utils.WebPayServletUtil"%>
<%@page import="org.apache.commons.lang.StringUtils"%>
<%@ page language="java"
	import="com.tangdi.production.mpapp.constants.*"%>
<%@ page import="java.text.*"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html lang="zh">
<base href="<%=basePath%>">
<head>
<title>正在跳转</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport"
	content="initial-scale=1, maximum-scale=1, user-scalable=no" />
<meta name="format-detection" content="telephone=no" />
<meta name="format-detection" content="email=no" />

</head>
<body>
<%
	Map<String,Object> reqMap = RequestUtil.getReqMap(request);
	String url = ObjectUtil.getString(reqMap.get("_f_url"));
	if(StringUtils.isNotEmpty(url)){
		reqMap.remove("_f_url");
		String formStr = MapUtils.getGatewayForm(url, reqMap, "");
		if(StringUtils.isNotEmpty(formStr)){
			out.write("正在跳转......");
			out.write(formStr);
		}else{
			out.write("请求格式错误");
		}
	}else{
		out.write("请求格式错误");
	}
	
	
%>
</body>
</html>
